/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.message.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 短信发记录表
 *
 * @author liyue
 * @date 2022-04-29 14:13:49
 */
@Data
@TableName("sys_shore_message_record")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "短信发记录表")
public class ShoreMessageRecord extends Model<ShoreMessageRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId
    @ApiModelProperty(value="主键ID")
    private Long id;

    /**
     * 租户号
     */
    @ApiModelProperty(value="租户号")
    private Long tenantId;

    /**
     * 发送人ID
     */
    @ApiModelProperty(value="发送人ID")
    private Long createdId;

    /**
     * 发送人
     */
    @ApiModelProperty(value="发送人")
    private String createdBy;

    /**
     * 发送时间
     */
    @ApiModelProperty(value="发送时间")
    private LocalDateTime createdTime;

    /**
     * 短信发送状态
     */
    @ApiModelProperty(value="短信发送状态")
    private Integer sendStatus;

    /**
     * 短信发送编码
     */
    @ApiModelProperty(value="短信发送编码")
    private String sendCode;

    /**
     * 短信发送内容
     */
    @ApiModelProperty(value="短信发送内容")
    private String sendContent;

    /**
     * 发送描述
     */
    @ApiModelProperty(value="发送描述")
    private String remarks;

    /**
     * IP地址
     */
    @ApiModelProperty(value="IP地址")
    private String ip;

    /**
     * MAC地址
     */
    @ApiModelProperty(value="MAC地址")
    private String mac;

    /**
     * 手机号码
     */
    @ApiModelProperty(value="手机号码")
    private String phone;

    /**
     * 运营商名称
     */
    @ApiModelProperty(value="运营商名称")
    private String operatorName;

    /**
     * 预留字段1
     */
    @ApiModelProperty(value="预留字段1")
    private String reservedField1;

}
